package com.kingdee.eas.custom.bscc.basedata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class ContractWayFactory
{
    private ContractWayFactory()
    {
    }
    public static com.kingdee.eas.custom.bscc.basedata.IContractWay getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.bscc.basedata.IContractWay)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("D2E20802") ,com.kingdee.eas.custom.bscc.basedata.IContractWay.class);
    }
    
    public static com.kingdee.eas.custom.bscc.basedata.IContractWay getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.bscc.basedata.IContractWay)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("D2E20802") ,com.kingdee.eas.custom.bscc.basedata.IContractWay.class, objectCtx);
    }
    public static com.kingdee.eas.custom.bscc.basedata.IContractWay getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.bscc.basedata.IContractWay)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("D2E20802"));
    }
    public static com.kingdee.eas.custom.bscc.basedata.IContractWay getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.bscc.basedata.IContractWay)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("D2E20802"));
    }
}